package com.atguigu.mapper;

import com.atguigu.pojo.SystemUser;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

/**
* @author 28960
* @description 针对表【system_user(员工信息表)】的数据库操作Mapper
* @createDate 2024-09-13 21:01:56
* @Entity com.atguigu.pojo.SystemUser
*/
@Mapper
public interface SystemUserMapper {

    int deleteByPrimaryKey(Long id);

    int insert(SystemUser record);

    int insertSelective(SystemUser record);

    SystemUser selectByPrimaryKey(Long id);

    int updateByPrimaryKeySelective(SystemUser record);

    int updateByPrimaryKey(SystemUser record);

    //自己添加一个关于查询所有数据的方法
    List<SystemUser> findAll();

}
